package com.hframe.http.client;

/**
 * Created by heqian on 12/6/16.
 */

public interface Progress {
    class DataItem {
        public byte[] data = null;
        public int offset = 0;
        public int length = 0;
    }


    boolean onProgress(DataItem data, long progress, long lenght) throws Exception;
}
